package top.fullj.bean;

/**
 * @author bruce.wu
 * @since 2021/6/24 15:20
 */
public interface JsonCodec {

    String encode(Object value);

    <T> T decode(String jsonStr, Class<T> type);

}
